package shouji;

/**
 * @author zihao
 * @date 2025/3/18 11:53
 * @VERSION
 * @description
 **/
public class Test071 {
    public static void main(String[] args) {
        Rectangle rec=new Rectangle();
        rec.setLength(8);
        rec.setWidth(4);
        rec.getLength();
        rec.getWidth();
        System.out.println("rec.getArea() = " + rec.getArea(rec.getLength(), rec.getWidth() ));
        System.out.println("rec.getPerimeter() = " + rec.getPerimeter(rec.getLength(), rec.getWidth() ));
        rec.getInfo();
    }
}
